# -*- coding: utf-8 -*-            
# @Author : HJH
# @Time : 2024/2/4 15:22
# @Use :
class OrderSubDetailDTO:
    def __init__(
            self,
            saleOrderNo: str = None,
            saleBillNo: str = None,
            airBigPNR: str = None,
            airPNR: str = None,
            childAirBigPNR: str = None,
            childAirPNR: str = None,
            platformName: str = None,
            incomeAmt: float = None,
            productName: str = None,
            tickstation: str = None,
            carrier: str = None,
            channel: str = None,
            tranSerialNo: str = None,
            merOrderNo: str = None,
            merNum: str = None,
            expendAmt: str = None,
            payAccNo: str = None,
            ticketDate: str = None,
            ticketTime: str = None,
            otaCreateDate: str = None,
            contactName: str = None,
            contactPhone: str = None,
            purchaseAccount: str = None,
            purchasePwd: str = None,
            accNoType: str = None,
            policyNote: str = None,
            salePrice: str = None,
            purTax: str = None,
            flights: list = None,
            passengers: list = None
    ):
        """
        """
        """
            支付账户类型
        """
        self.accNoType = accNoType
        """
            航班信息
        """
        self.flights = flights
        """
            乘客信息
        """
        self.passengers = passengers
        """
            销售订单号
        """
        self.saleOrderNo = saleOrderNo
        """
            子订单号 关联订单号
        """
        self.saleBillNo = saleBillNo
        """
            航司大PNR
        """
        self.airBigPNR = airBigPNR
        """
            航司PNR
        """
        self.airPNR = airPNR
        """
            儿童航司大PNR
        """
        self.childAirBigPNR = childAirBigPNR
        """
            儿童航司PNR
        """
        self.childAirPNR = childAirPNR
        """
            销售平台
        """
        self.platformName = platformName
        """
            收入金额
        """
        self.incomeAmt = incomeAmt
        """
            商品名称
        """
        self.productName = productName
        """
            出票站点
        """
        self.tickstation = tickstation
        """
            航司2字代码
        """
        self.carrier = carrier
        """
            出票方式
        """
        self.channel = channel
        """
            资金流水号
        """
        self.tranSerialNo = tranSerialNo
        """
            商家订单号
        """
        self.merOrderNo = merOrderNo
        """
            商家编号
        """
        self.merNum = merNum
        """
            支出金额
        """
        self.expendAmt = expendAmt
        """
            支付账号
        """
        self.payAccNo = payAccNo
        """
            出票日期
        """
        self.ticketDate = ticketDate
        """
            出票时间
        """
        self.ticketTime = ticketTime
        """
            OTA创单日期
        """
        self.otaCreateDate = otaCreateDate
        """
            联系人姓名
        """
        self.contactName = contactName
        """
            联系人号码
        """
        self.contactPhone = contactPhone
        """
            采购账号
        """
        self.purchaseAccount = purchaseAccount
        """
            采购账号的密码
        """
        self.purchasePwd = purchasePwd
        """
            政策代码
        """
        self.policyNote = policyNote
        """
            采购价
        """
        self.salePrice = salePrice
        """
            采购税费
        """
        self.purTax = purTax


class FlightSubDetailDTO:
    def __init__(
            self,
            depCode: str = None,
            depCh: str = None,
            arrCode: str = None,
            arrCh: str = None,
            depDate: str = None,
            depTime: str = None,
            arrTime: str = None,
            flightNo: str = None,
            shareNo: str = None,
            isShare: str = None,
            carrier: str = None,
            cabin: str = None,
            cabinChd: str = None,
            saleCabin: str = None,
            face: str = None,
            clsPrice: str = None,
            depCityCode: str = None,
            arrCityCode: str = None,
            salePrice: str = None
    ):
        """
        """
        """
            出发机场三字码
        """
        self.depCode = depCode
        """
            出发机场名称
        """
        self.depCh = depCh
        """
            到达机场三字码
        """
        self.arrCode = arrCode
        """
            到达机场名称
        """
        self.arrCh = arrCh
        """
            出发日期
        """
        self.depDate = depDate
        """
            出发时间
        """
        self.depTime = depTime
        """
            到达时间
        """
        self.arrTime = arrTime
        """
            航班号
        """
        self.flightNo = flightNo
        """
            共享航班号
        """
        self.shareNo = shareNo
        """
            是否共享
        """
        self.isShare = isShare
        """
            航司二字码
        """
        self.carrier = carrier
        """
            舱位
        """
        self.cabin = cabin
        """
            儿童舱位
        """
        self.cabinChd = cabinChd
        """
            销售舱位
        """
        self.saleCabin = saleCabin
        """
            cabin对应的票面价
        """
        self.face = face
        """
            cabin对应的销售价
        """
        self.clsPrice = clsPrice
        """
            出发城市三字码
        """
        self.depCityCode = depCityCode
        """
            到达城市三字码
        """
        self.arrCityCode = arrCityCode
        """
            采购价
        """
        self.salePrice = salePrice


class PassengerSubDetailDTO:
    def __init__(
            self,
            passengerName: str = None,
            passengerType: str = None,
            certNo: str = None,
            certType: str = None,
            nationality: str = None,
            abbreviation: str = None,
            cardExpired: str = None,
            cardIssuePlace: str = None,
            englishName: str = None,
            gender: str = None,
            birthday: str = None,
            ticketNo: str = None,
            saleFcPrice: str = None,
            paymentFcAmount: str = None,
            tax: str = None,
            fuel: str = None,
            salePrice: str = None,
            paymentAmount: str = None,
            purchaseCabin: str = None,
            phone: str = None,
            purchaseTax: str = None,
            purchaseFuel: str = None,
            age: str = None,
            profit: str = None
    ):
        """
        """
        """
            乘客姓名
        """
        self.passengerName = passengerName
        """
            乘客类型 0成人 1儿童 2婴儿
        """
        self.passengerType = passengerType
        """
            证件号
        """
        self.certNo = certNo
        """
            证件类型 PP 护照 HX 回乡证 TB 台胞证 GA 港澳通行证 HY 国际海员证 
            NI身份证 XS 学生证 JR 军人证 JS 驾驶证 TW台湾通行证 SB 士兵证 
            LN 临时身份证 HK 户口簿 JG 警官证 TH 其它 CS 出生证明
        """
        self.certType = certType
        """
            国籍
        """
        self.nationality = nationality
        """
            国籍 缩写
        """
        self.abbreviation = abbreviation
        """
            证件有限期
        """
        self.cardExpired = cardExpired
        """
            证件签发国
        """
        self.cardIssuePlace = cardIssuePlace
        """
            英文名称 姓/名
        """
        self.englishName = englishName
        """
            性别 F M
        """
        self.gender = gender
        """
            生日
        """
        self.birthday = birthday
        """
            客票号
        """
        self.ticketNo = ticketNo
        """
            销售票面价 不含税
        """
        self.saleFcPrice = saleFcPrice
        """
            支付票面价 不含税
        """
        self.paymentFcAmount = paymentFcAmount
        """
            基建税 /个
        """
        self.tax = tax
        """
            燃油 /个
        """
        self.fuel = fuel
        """
            销售价 不含税
        """
        self.salePrice = salePrice
        """
            支付价 不含税
        """
        self.paymentAmount = paymentAmount
        """
            采购舱位 多个用 / 分隔
        """
        self.purchaseCabin = purchaseCabin
        """
            手机号码
        """
        self.phone = phone
        """
            采购基建税 /个
        """
        self.purchaseTax = purchaseTax
        """
            采购燃油 /个
        """
        self.purchaseFuel = purchaseFuel
        """
            年龄
        """
        self.age = age
        """
            利润
        """
        self.profit = profit
